package com.tedu.drugs.mapper;

import com.tedu.drugs.pojo.dto.DrugsQuery;
import com.tedu.drugs.pojo.entity.Medicines;
import com.tedu.drugs.pojo.vo.DrugsVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DrugsMapper {
     List<DrugsVO> selectDrugs(DrugsQuery drugsQuery);

     void updateDrugs(Medicines medicines);

     void insertDrugs(Medicines medicines);

     void delete(Long medicineId);
}
